package com.cium.aqie.objectOriented.overload

/**
 * @Function: 方法重载
 * @Author: aqie
 * @Date: 2019/8/31 9:46
 */
class Overloads{
    fun a():Int{
        return 0
    }
    // 想在java调用必须加注解
    //@JvmOverloads
    fun a(int: Int = 0): Int{
        return int
    }
}